package kr.or.kiso.test;

/**
 * MyAuthenticator
 * 
 * @author hisong
 * @since 2011.10.27
 *
 * Copyright (C) 2011 by hisong All rights reserved.
 */

import javax.mail.Authenticator;

public class MyAuthenticator extends Authenticator {

	private String id;
	private String pw;

	public MyAuthenticator(String id, String pw) {
		this.id = id;
		this.pw = pw;
	}

	protected javax.mail.PasswordAuthentication getPasswordAuthentication() {
		return new javax.mail.PasswordAuthentication(id, pw);
	}

}
